package com.baizhi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @SpringBootApplication 标记当前类为启动类，启动类会创建spring的工厂，
 * 会自动配置创建一些需要使用对象，部署运行
 *
 */

@SpringBootApplication
@MapperScan("com.baizhi.dao")
public class Bootdemo2Application {

    public static void main(String[] args) {
        SpringApplication.run(Bootdemo2Application.class, args);
    }

}
